//
//  BKButton.h
//  buka
//
//  Created by 曹飞 on 16/7/4.
//  Copyright © 2016年 songhuipan. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BKButton : UIButton
@property (nonatomic,strong)id userInfo;


-(instancetype)initWithFrame:(CGRect)frame
              withBackBround:(UIColor*)bgkColor;

/**
 *  红色背景,白色标题按钮, 其他颜色请自行配制
 *
 *  @param frame    frame
 *  @param bgkColor 背景色
 *  @param target   target
 *  @param action   点击事件
 *

 */
-(instancetype)initWithFrame:(CGRect)frame
              withBackBround:(UIColor*)bgkColor
                  withTarget:(id)target
                  withAction:(SEL)action;



-(instancetype)initWithBackBround:(UIColor*)bgkColor
                       withTarget:(id)target
                       withAction:(SEL)action;

-(instancetype)initWithTarget:(id)target
                       withAction:(SEL)action;


-(void)setBackgroundWithNormalColor:(UIColor *)normalColor
               withHighlightedColor:(UIColor *)highlightedColor;

@end
